From dcf1f40557d4c42671406b329e55bfed7ea50c1c Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 14 Feb 2025 01:56:58 -0800
Subject: feat(Tools): Use generic birthdays tool template, adds NIJISANJI
 birthdays tool

---
 src/routes/tools/[tool]/+page.svelte | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to 'src/routes/tools/[tool]/+page.svelte')

diff --git a/src/routes/tools/[tool]/+page.svelte b/src/routes/tools/[tool]/+page.svelte
index c811cf2a..043b47fb 100644
--- a/src/routes/tools/[tool]/+page.svelte
+++ b/src/routes/tools/[tool]/+page.svelte
@@ -17,9 +17,9 @@
   import Likes from '$lib/Tools/Likes.svelte';
   import root from '$lib/Utility/root.js';
   import Popup from '$lib/Layout/Popup.svelte';
-  import HololiveBirthdays from '$lib/Tools/HololiveBirthdays.svelte';
   import SequelCatcher from '$lib/Tools/SequelCatcher/Tool.svelte';
   import Tracker from '$lib/Tools/Tracker/Tool.svelte';
+  import BirthdaysTemplate from '$lib/Tools/BirthdaysTemplate.svelte';
 
   export let data;
 
@@ -78,7 +78,13 @@
   {:else if tool === 'hayai'}
     <Hayai />
   {:else if tool === 'hololive_birthdays'}
-    <HololiveBirthdays />
+    <BirthdaysTemplate
+      remoteURL="https://raw.githubusercontent.com/Fuwn/hololist-to-json-and-ical/refs/heads/main/data/latest_hololive.json"
+    />
+  {:else if tool === 'nijisanji_birthdays'}
+    <BirthdaysTemplate
+      remoteURL="https://raw.githubusercontent.com/Fuwn/hololist-to-json-and-ical/refs/heads/main/data/latest_nijisanji.json"
+    />
   {:else if tool === 'sequel_catcher'}
     <SequelCatcher user={data.user} />
   {:else if tool === 'tracker'}
-- 
cgit v1.2.3

